Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SNOW-1271212 Fixed values uploaded to stage for bindings exceeding CLIENT_STAGE_ARRAY_BINDING_THRESHOLD #897

Merged
merged 13 commits into from
Apr 4, 2024

Conversation

sfc-gh-mhofman
Copy link
Collaborator

@sfc-gh-mhofman sfc-gh-mhofman commented Mar 26, 2024

Description

When number of binded values during query execution exceeds the threshold of a session parameter CLIENT_STAGE_ARRAY_BINDING_THRESHOLD then values are written as a CSV file to a stage and it get's picked during query excecution.
Improper values (or values truncating fractions of ms) has been uploaded for date and time related columns of type: DATE, TIME, TIMESTAMP_LTZ, TIMESTAMP_NTZ, TIMESTAMP_TZ.

Checklist

  • Code compiles correctly
  • Code is formatted according to Coding Conventions
  • Created tests which fail without the change (if possible)
  • All tests passing (dotnet test)
  • Extended the README / documentation, if necessary
  • Provide JIRA issue id (if possible) or GitHub issue id in PR name

@sfc-gh-mhofman sfc-gh-mhofman requested a review from a team as a code owner March 26, 2024 14:14
@sfc-gh-mhofman sfc-gh-mhofman force-pushed the SNOW-1271212-stage-binding-upload branch from ff9c6b7 to 13e1320 Compare March 26, 2024 15:14
@sfc-gh-mhofman sfc-gh-mhofman force-pushed the SNOW-1271212-stage-binding-upload branch 2 times, most recently from 85efbeb to bb491bb Compare March 26, 2024 15:57
Copy link

codecov bot commented Mar 26, 2024

Codecov Report

Attention: Patch coverage is 94.73684% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 84.70%. Comparing base (ac0860f) to head (db80eff).
Report is 1 commits behind head on master.

Files Patch % Lines
Snowflake.Data/Client/SnowflakeDbCommand.cs 0.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #897      +/-   ##
==========================================
+ Coverage   84.41%   84.70%   +0.28%     
==========================================
  Files          89       89              
  Lines        9683     9681       -2     
  Branches      914      915       +1     
==========================================
+ Hits         8174     8200      +26     
+ Misses       1274     1253      -21     
+ Partials      235      228       -7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sfc-gh-mhofman sfc-gh-mhofman force-pushed the SNOW-1271212-stage-binding-upload branch from 74be02f to dd9879f Compare March 28, 2024 13:24
@sfc-gh-mhofman sfc-gh-mhofman force-pushed the SNOW-1271212-stage-binding-upload branch from 764b19a to 0e842c0 Compare April 3, 2024 08:28
@sfc-gh-mhofman sfc-gh-mhofman merged commit dfba44e into master Apr 4, 2024
25 checks passed
@sfc-gh-mhofman sfc-gh-mhofman deleted the SNOW-1271212-stage-binding-upload branch April 4, 2024 11:38
@github-actions github-actions bot locked and limited conversation to collaborators Apr 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants